package cn.com.entity;
//数据库规定公告类，与字段保持一致
public class State {
    private int StateId;
    private Integer StateAdmin;
    private String StateContent;
    private String StateTime;

    public State() {
    }

    public State(int stateId, Integer stateAdmin, String stateContent, String stateTime) {
        StateId = stateId;
        StateAdmin = stateAdmin;
        StateContent = stateContent;
        StateTime = stateTime;
    }

    public int getStateId() {
        return StateId;
    }

    public void setStateId(int stateId) {
        StateId = stateId;
    }

    public Integer getStateAdmin() {
        return StateAdmin;
    }

    public void setStateAdmin(Integer stateAdmin) {
        StateAdmin = stateAdmin;
    }

    public String getStateContent() {
        return StateContent;
    }

    public void setStateContent(String stateContent) {
        StateContent = stateContent;
    }

    public String getStateTime() {
        return StateTime;
    }

    public void setStateTime(String stateTime) {
        StateTime = stateTime;
    }

    @Override
    public String toString() {
        return "State{" +
                "StateId=" + StateId +
                ", StateAdmin=" + StateAdmin +
                ", StateContent='" + StateContent + '\'' +
                ", StateTime=" + StateTime +
                '}';
    }
}
